package com.ruanyun.modular.ry.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 意见反馈
 * </p>
 *
 * @author conan
 * @since 2021-01-08
 */
@TableName("ry_feedback")
public class Feedback implements Serializable {

    private static final long serialVersionUID = 6590884627412657525L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用户编号
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 联系方式
     */
    @TableField("contact")
    private String contact;

    /**
     * 内容
     */
    @TableField("content")
    private String content;

    /**
     * 1:正常，2:删除，3:禁用
     */
    @TableField("del_flag")
    private Integer delFlag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Feedback{" +
        "id=" + id +
        ", customerId=" + customerId +
        ", contact=" + contact +
        ", content=" + content +
        ", delFlag=" + delFlag +
        ", createTime=" + createTime +
        "}";
    }
}
